#include<iostream>
using namespace std;
#include "../source/public.h"
#include <assert.h>

framework::Logger::ptr g_logger = FRAMEWORK_LOG_ROOT();

void test_assert()
{
    FRAMEWORK_LOG_INFO(g_logger) << framework::BacktraceToString(10);
    cout << "====================================================================" << endl;

    FRAMEWORK_ASSERT2(0 == 1, "haha");
}

int main(int argc, char ** argv)
{
    test_assert();

    return 0;
}